package com.tedu.egvehicle1.mapper;

import com.tedu.egvehicle1.pojo.entity.Vehicle;
import com.tedu.egvehicle1.pojo.vo.VehicleListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleMapper {
    int insert(Vehicle vehicle);

    List<VehicleListVO> selectList(@Param("brand") String brand,
                                   @Param("license") String license,
                                   @Param("id") Long userId
                                   );

    int delete(@Param("id") Long id,
               @Param("userId") Long userVOId);
}
